package com.weixin.engine.daily.statemachine;

import com.weixin.engine.daily.statemachine.machine.StateMachine;
import com.weixin.engine.daily.statemachine.enums.Event;
import com.weixin.engine.daily.statemachine.enums.State;

/**
 * 简易版测试
 */
public class MachineTest {
    public static void main(String[] args) {
        State next = StateMachine.getNext(State.LEADER_CHECK, Event.PASS);
        System.out.println(next);
    }
}
